//Uart moudle
//Author:Abu
//Date:05,09.2018

/*************************
Description:
1.TX+RX+GND
2.Online configurable
3.All baudrates supported
*************************/


moudle uart(
	sys_clk,
	sys_rst,
	
	uart_baud_cfg,
	uart_general_cfg,

	uart_tx_din,
	uart_rx_dout,

	uart_tx,
	uart_rx
);

input sys_clk;
input sys_rst;

input [15:0] uart_baud_cfg; //set baudrates
input [7:0] uart_general_cfg; //set general purpose registers

//input and output data port
input [7:0] uart_tx_din;
input [7:0] uart_rx_dout;

output uart_tx;
output uart_rx;

//***************************************************
